package model.cell;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Point;

import model.classes.Speed;

/**
 * Path cell class. This cells are used to draw the path on which
 * enemies will move.
 * 
 * @author alexandre.altun
 */
public class PathCell extends AbstractCell {

	protected Color color = new Color(20, 20, 20);
	
	public Speed speed = new Speed();
	
	
	public PathCell(Point pos, Dimension dim) {
		super(pos, dim);
	}
	
	public void draw(Graphics g) {
		Color c = g.getColor();
		g.setColor(color);
		g.fillRect(_rect.x, _rect.y, _rect.height, _rect.width);
		g.setColor(c);
	}

}
